<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
</head>
<body>
<ul>
	<c:forEach items="${tea }" var="t" varStatus="i">
	<div align="center">
		<table border="1">
			<tr >
				<td width=60>${t.teatype}</td>
				<td width=60>${t.origin}</td>
				<td width=60>${t.grade}</td>
				<td width=60>${t.price}</td>
				<td width=60>${t.brand}</td>
				<td width=60>${t.spokesman}</td>
				<td width=100>${t.picture}</td>
				<td width=140>
				<a href="bridgeupdate?id=${t.id}&teatype=${t.teatype}&origin=${t.origin}
				&grade=${t.grade}&price=${t.price}&brand=${t.brand}
				&spokesman=${t.spokesman}&picture=${t.picture}">修改</a>
	
				<a href="delete?id=${t.id}">删除</a>
				
				<a href="selectone?id=${t.id }">单条记录</a>
				</td>
			</tr>
		</table>
	</c:forEach>
	<table border="3">
		<tr><td><a href="/tea/add">添加</a></td></tr>
	</table>
	</div>	
</ul>
	
</body>
</html>